package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class Inheritance {
    @ApiModelProperty(name = "inheritanceId",notes = "家族病史id")
    private Integer inheritanceId;
    @ApiModelProperty(name = "inheritanceName",notes = "家族病史名称")
    private String inheritanceName;

    public Inheritance() {
    }

    public Inheritance(Integer inheritanceId, String inheritanceName) {
        this.inheritanceId = inheritanceId;
        this.inheritanceName = inheritanceName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column inheritance.inheritance_id
     *
     * @return the value of inheritance.inheritance_id
     *
     * @mbg.generated
     */
    public Integer getInheritanceId() {
        return inheritanceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column inheritance.inheritance_id
     *
     * @param inheritanceId the value for inheritance.inheritance_id
     *
     * @mbg.generated
     */
    public void setInheritanceId(Integer inheritanceId) {
        this.inheritanceId = inheritanceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column inheritance.inheritance_name
     *
     * @return the value of inheritance.inheritance_name
     *
     * @mbg.generated
     */
    public String getInheritanceName() {
        return inheritanceName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column inheritance.inheritance_name
     *
     * @param inheritanceName the value for inheritance.inheritance_name
     *
     * @mbg.generated
     */
    public void setInheritanceName(String inheritanceName) {
        this.inheritanceName = inheritanceName == null ? null : inheritanceName.trim();
    }
}
